//
//  HECreateOrderRequest.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/28.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
 居家照料商品不能加入购物车，且需要填写预约时间serviceTime ：yyyy-MM-dd HH:mm。如果是与工作人员面对面下单，需要填写staffId，与staffName字段.
 */
@class HESickbedExtras;
@class HESickbedPramas;

@interface HECreateOrderRequest : NSObject

@property (nonatomic, assign) NSInteger source;

@property (nonatomic, assign) NSInteger channel;

@property (nonatomic, copy) NSString *content;

@property (nonatomic, assign) NSInteger addressId;

@property (nonatomic, copy) NSString *cartIds; // 按逗号分隔

@property (nonatomic, copy) NSString *goodsId; // 按逗号分隔

@property (nonatomic, assign) NSInteger skuId;

@property (nonatomic, assign) NSInteger total; // 从商品详情订单预览生成订单 商品总数

@property (nonatomic, assign) NSInteger type; // 1 从商品详情订单预览生成订单  2： 从购物车订单预览生成订单

@property (nonatomic, assign) NSInteger orderType;

@property (nonatomic, copy) NSString *staffId;

@property (nonatomic, copy) NSString *staffName;

@property (nonatomic, copy) NSString *serviceTime;


@property (nonatomic, copy) NSString *extras; // 健康规划

@property (nonatomic, copy) NSString * doctor_id;

@property (nonatomic, copy) NSString * team_id;

@property (nonatomic, copy) NSString * memberId; // 选择的用户的id

@property (nonatomic, assign) NSInteger appSource;

@property (nonatomic, assign) NSInteger agentOrder; // 是否是代付订单

@end


/**
 居家医养服务包订单参数
 */
@interface HESickbedExtras : NSObject

@property (nonatomic, assign) NSInteger order_type;

@property (nonatomic, strong) HESickbedPramas * sick;
  
@end

@interface HESickbedPramas : NSObject

@property (nonatomic, copy) NSString *service_addr;
@property (nonatomic, assign) NSInteger service_addr_id;
@property (nonatomic, copy) NSString *urgent_rela_name;
@property (nonatomic, copy) NSString *urgent_rela_telp;
@property (nonatomic, copy) NSString *hospital_id;
@property (nonatomic, copy) NSString *usid;

@end
  
NS_ASSUME_NONNULL_END
